import request from '@/utils/request'

export default {

  //1.获取所有的轮播图数据
  getAllBannerInfo() {
    return request({
      url: '/cms/front/getAll',
      method: 'get'
    })
  },

  //2.查询热门名师以及热门课程
  getHotCourseAndTeacher(){
    return request({
      url: '/teacher/front/get/hot',
      method: 'get'
    })
  }

}
